package cn.laixueit.api;


import cn.laixueit.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


public interface UserApi {

    @GetMapping("/query")
    public User query(@RequestParam("username")String username,
                                      @RequestParam("password")String password);

}
